dsh-playwright-cli:把 Playwright CLI 接进 DSH 的 agent loop

dsh-playwright-cli 是 DSH 智能体的 Host-only 插件,旨在将 Playwright CLI 常用操作封装为 agent 可调用的工具,实现自动化测试流程。该插件提供四项核心功能:`playwright_version` 探测本地 CLI 状态;`playwright_install` 自动安装浏览器及缺失的测试依赖;`playwright_test` 运行测试套件,支持多种参数配置;`playwright_show_report` 生成并返回 HTML 报告的路由或文件路径。 插件基于 DSH 的 shell 执行器运行,继承其沙箱策略、超时控制及环境变量配置,

Read More
Adding E2E Tests: Building Playwright End-to-End Tests from Scratch with Agent Skill

### 正式翻译: # Adding E2E Tests from awesome-cursor-skills: Teach AI Agents to Build Playwright E2E Testing from Scratch This tutorial covers end-to-end setup with Playwright: installing dependencies, configuring `playwright.config.ts`, writing smoke tests and Page Objects, supplementing npm scripts and `.gitignore`, integrating GitHub Actions CI, and emphasizes best practices for `data-testid` and Playwright Codegen. It explains the positioning of this skill, its differences from webapp-testing, installation methods for Cursor/Claude Code, and a seven-step implementation workflow, making it suitable for frontend and full-stack projects that have not yet adopted E2E testing.

Read More